/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	background-color:#f2e1c6;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clearer {
	clear:both;
}

/*** HEADER ***/
.login-click {
	cursor:pointer;
}

.login-click, .login-top, #login-header {
	position:absolute;
	top:20px;
	right:20px;
}

#top .login-top a {
	color:black;
}

.login-label {
	margin-right:10px;
}

.register-link {
	float:right;
	padding-top:10px;
	margin-right:-4px;	
}

.ui-button.submit-login {
	display:inline;
	float:right;
	margin-right:20px;
}

.login-top {
}

.login-top, .login-top a {
	color:black;
}

.submit-login {
	float:right;
}

.close-login {
	color:red;
	font-weight:bold;
	cursor:pointer;
	font-size:16px;
	position:absolute;
	top:5px;
	right:10px;
}

#top {
	margin-bottom:20px;
	background-color:#5d5958;
	box-shadow: -1px 2px 5px 1px #f2e1c6,
    -1px 2px 10px #f2e1c6 inset;
    position:relative;
}

#top, #top a {	
	color:#eee;
}

.book-image img {
	width:200px;
	height:150px;
}

.photo.avatar img {
	width:75px;
	height:50px;	
}

.photo.small img {
	width:200px;
	height:150px;	
}

.photo.medium img {
	width:300px;
	height:225px;	
}

.photo.big img {
	width:450px;
	height:425px;	
}

#content.front, #content.back {
	background-color:white;
	box-shadow: -1px 2px 5px 1px #f2e1c6,
    -1px 2px 10px #f2e1c6 inset;
}

#top, #content.front, #content.back {
	width:950px;
	margin:0 auto;
	padding:20px;
}

/*** Front ***/

#content.front {
	min-height:600px;
}

#content.front h1 {
	font-weight:bold;
	font-size:24px;
	color:#4293ba;
	text-align:center;
	margin:20px 0;
}

#content.front form {
	margin:0 auto;
}

#content.front form input, #content.front form label {
	display:block;
}	

#content.front table{
	margin:0 auto;
}

.produits {
	margin-left:70px;
}

.produit {
	float:left;
	width:185px;
	height:205px;
	position:relative;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background-color:#dbe3e5;
    margin:0 20px 20px 0;
}

.produit .title {
	display:block;
	text-align:center;
	padding-top:5px;
}

.produit .title a {
	font-family:Myriad Pro;
	font-size:16px;
	color:black;
	text-decoration:none;
}

.produit .price {
	position:absolute;
	bottom: 11px;
	left: 15px;
}

.produit .image {
	margin:20px 0 0 12px;
}

.produit .image img, .page-panier img {
	width:125px;
	height:100px;
	padding-left:20px;
	margin-bottom:5px;
}

.produit .add-cart {
	position:absolute;
	right:15px;
	bottom:7px;
}

.produit-details {
	background-color:#dbe3e5;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    position:relative;	
}

.produit-details .image img {	
	width:450px;
	height:425px;
}

.produit-details .image {
	float:left;
	width:420px;
	height:400px;
	margin-right:20px;
	padding:20px;
}

.produit-details .details {
	float:left;
}

.produit-details .details .title {
	padding:20px;
	font-family:Myriad Pro;
	font-size:34px;
}

.produit-details .details .price {
	position:absolute;
	top:15px;
	left:15px;
	width:200px;
	height:135px;
	color:white;
	font-weight:bold;
	font-size:70px;
	background:#069;
	text-align:center;
	padding-top:65px;
	-webkit-border-radius:100px;
	-moz-border-radius:100px;
	-o-border-radius:100px;
	border-radius:100px;
    filter : alpha(opacity=80);
    opacity : 0.8;
}

.panier {
	position:fixed;
	left:2px;
	z-index:1000;
	color:black;
	width:150px;
	background-color:#4293ba;
	opacity:0.9;
	padding:20px;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

.panier .title {
	padding:0 25px 0 25px;
	word-break: break-word;
}

.panier .total {
	float:right;
	margin:10px 17px 0 0;
	font-style:italic;
}

.panier tr th {
	font-weight:bold;
	border-bottom:1px solid #b5b6b6;
	margin-bottom:5px;
	padding:5px 0;
}

.panier tr td {
	border-bottom:1px solid #b5b6b6;
	padding:5px 0;
}

.panier .cart-link {
	margin-top:5px;
}

.page-panier .actions a {
	float:left;
	font-size:20px;
	margin:0 3px 0 3px;
}
.page-panier .actions-link {
	width:75px;	
	margin-left:72px;
}

.page-panier tr th {
	font-weight:bold;
}

.page-panier tr td, .page-panier tr th {
	width:190px;
	text-align:center;
}

.page-panier tr td {
	text-align:center;
    display: table-cell;
    vertical-align: middle;
}

.page-panier .total {
	margin-top:20px;
	padding:10px;
	border:1px solid black;
	float:right;
	margin-right:220px;
	font-size:18px;
}

.page-panier .produit-impair {
	background-color:#dbe3e5;
}

.page-panier .validate {
	float:right;
	margin:25px 75px 0 0;
}

.page-panier .panier-empty {
	font-weight:bold;
	font-size:24px;
	text-align:center;
}

#content.front #produits .ui-widget-content {
	border:none;
}

.produit {
	z-index:999;
}

/*** BACK ***/
#content.back .ui-datatable table {
	max-width:700px;
	display:block;
}

.green {
	background-color:#4ff19b;
	font-weight:bold;
}

.loader img {
	display:none;
	float:left;
	margin-left:50px;
	height:50px;
}

#content.front .autocomplete-home {
	z-index:9999999;
}

/** Menu catégories **/

ul.menu.home.categories {
	float:right;
	position:absolute;
	right:20px;
}
ul.menu.home.categories li {
	float:right;
	margin:0 10px;
}

ul.sub-menu {
	display:none;
	z-index:1000;
	width:68px;
	min-height:100px;
	margin-top: 14px;
	position:relative;
	margin-left:20px;
}

ul.categories ul.sub-menu li {
	clear:both;
	display:block;
	padding:10px 0 10px 0;
	width:150px;	
	height:20px;
	margin-left:0;
	background-color:#d2e0eb;
	padding-left:20px;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	-webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
	letter-spacing:0.2em;
}

#top .sub-menu li a {
	width:100%;
	height:100%;
	color:#333;
}

.avatar {
	float:right;
}

.nom-avatar {
	float:right;
}

#top .sub-menu li a:hover {
	color:#666;
}

li.menu-categories:hover > ul {
	display: block;
}

li.menu-categories {
	cursor:pointer;
	position:relative;
	z-index:1001;
	padding-left:10px;	
}

.details div {
	margin:40px 0;
}

#contentForm input, #contentForm label, #content.back #contentForm .ui-selectonemenu {
	display:block;
	margin:20px 0; 
}